home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-17 / sfx_3.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-03-25  |  2KB  |  56 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. cls
  7. echo 
  8. echo         ───────────────────────────────────────────────────────────
  9. echo                    ERROR: Invalid drive specified.
  10. echo                      You must use drive A: or B:
  11. echo         ───────────────────────────────────────────────────────────
  12. goto DONE
  13.  
  14. :NO_ARG
  15. cls
  16. echo      This batch file needs to know what drive you wish to install
  17. echo         the files on. You must install this to a diskette.
  18. echo 
  19. echo                        ─────────────────────────
  20. echo                       │ Usage: INSTALL [drive]: │
  21. echo                        ─────────────────────────
  22. echo                           Example: INSTALL A:
  23. goto DONE
  24.  
  25. :FDISK
  26. cls
  27. echo                    ┌───────────────────────────┐
  28. echo                    │** Stereo■FX Diskette #3 **│
  29. echo                    └───────────────────────────┘
  30. echo                          ─────────────────
  31. echo             This batch file will conveniently extract this
  32. echo                 diskette to a 360K or 720K floppy.
  33. echo                          ─────────────────
  34. echo         Please ensure that you have a blank/formatted
  35. echo            360K or 720K diskette ready before you continue.
  36. echo 
  37. echo               Press any key to continue the installation
  38. echo                         or CONTROL-C to abort.
  39. pause >nul
  40. cls
  41. echo                    ┌───────────────────────────┐
  42. echo                    │** Stereo■FX Diskette #3 **│
  43. echo                    └───────────────────────────┘
  44. echo                          ─────────────────
  45. echo Copying files . . .
  46. echo Disk 3 part 1...
  47. copy sfxf.exe %1
  48. echo Disk 3 part 2...
  49. copy sfxr.exe %1
  50. cls
  51. echo                     ╒══════════════════════════╕
  52. echo                     │ Installation successful! │
  53. echo                     ╘══════════════════════════╛
  54. goto DONE
  55. :DONE
  56.